package com.njust.domain.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.njust.domain.po.Project;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.annotations.Select;

import java.io.Serializable;
import java.util.List;

/**
 * @version 1.0
 * @Author Imak
 * @Date 2024/11/7 12:50
 * @根据id查询产品的返回数据
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ProjectPageQueryVO implements Serializable {
    //产品id
    private int product_id;

    //产品描述
    private String description;

    //总记录数
    @TableField(exist = false)
    private long total;

    //产品关联的项目数组
    private List<Project> records;
}
